package Java.BlackHorse.a04FileTest;

import java.io.File;
import java.io.IOException;

public class Test1 {
    /*
    * 需求：在当前模块的aaa文件夹中创建 文件a.txt
    * */
    public static void main(String[] args) throws IOException {
        File file= new File("a04FileTest\\aaa");
        file.mkdir();
        System.out.println(new File(file,"a.txt").createNewFile());
    }
}
